﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Bot.Domain.Enum;
using Comm100.Domain.Entity;
using Comm100.Framework.Domain.Entity;

namespace Bot.Domain.Entities
{
    [Table("t_Chatbot_Response_Button")]
    public class ResponseButton: ISoftDelete
    {
        [Key]             
        public Guid Id { get; set; }
        public Guid ResponseId { get; set; }
        public EnumButtonType Type { get; set; }
        public string Text { get; set; }
        public string Url { get; set; }
        public Guid? IntentId { get; set; }
        public EnumOpenIn? OpenIn { get; set; }
        public EnumOpenStyle? OpenStyle { get; set; }
        public int Order { get; set; }
        public bool IsDeleted { get; set; }

        [NotMapped]
        public virtual Intent Intent { get; set; }
    }
}
